package com.school.dao;

import com.school.domain.Teacher;

import java.util.List;

public interface TeacherDao {
    boolean add(Teacher teacher);
    boolean del(long tid);
    boolean update(Teacher teacher);
    Teacher findById(long tid);
    List<Teacher> findByName(String name);
    List<Teacher> findAll();
}
